NodeInfoLiteOrBuilder

interface NodeInfoLiteOrBuilder : MessageOrBuilder

Inheritors

Properties

Functions

Link copied to clipboard
abstract fun getBitfield(): Int

Bitfield for storing booleans.
LSB 0 is_key_manually_verified
uint32 bitfield = 13;
Link copied to clipboard
abstract fun getChannel(): Int

local channel index we heard that node on. Only populated if its not the default channel.
uint32 channel = 7;
Link copied to clipboard

The latest device metrics for the node.
.meshtastic.DeviceMetrics device_metrics = 6;
Link copied to clipboard

The latest device metrics for the node.
.meshtastic.DeviceMetrics device_metrics = 6;
Link copied to clipboard
abstract fun getHopsAway(): Int

Number of hops away from us this node is (0 if direct neighbor)
optional uint32 hops_away = 9;
Link copied to clipboard
abstract fun getIsFavorite(): Boolean

True if node is in our favorites list
Persists between NodeDB internal clean ups
bool is_favorite = 10;
Link copied to clipboard
abstract fun getIsIgnored(): Boolean

True if node is in our ignored list
Persists between NodeDB internal clean ups
bool is_ignored = 11;
Link copied to clipboard
abstract fun getLastHeard(): Int

Set to indicate the last time we received a packet from this node
fixed32 last_heard = 5;
Link copied to clipboard
abstract fun getNextHop(): Int

Last byte of the node number of the node that should be used as the next hop to reach this node.
uint32 next_hop = 12;
Link copied to clipboard
abstract fun getNum(): Int

The node number
uint32 num = 1;
Link copied to clipboard

This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
Position.time now indicates the last time we received a POSITION from that node.
.meshtastic.PositionLite position = 3;
Link copied to clipboard

This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
Position.time now indicates the last time we received a POSITION from that node.
.meshtastic.PositionLite position = 3;
Link copied to clipboard
abstract fun getSnr(): Float

Returns the Signal-to-noise ratio (SNR) of the last received message,
as measured by the receiver. Return SNR of the last received message in dB
float snr = 4;
Link copied to clipboard

The user info for this node
.meshtastic.UserLite user = 2;
Link copied to clipboard

The user info for this node
.meshtastic.UserLite user = 2;
Link copied to clipboard
abstract fun getViaMqtt(): Boolean

True if we witnessed the node over MQTT instead of LoRA transport
bool via_mqtt = 8;
Link copied to clipboard
abstract fun hasDeviceMetrics(): Boolean

The latest device metrics for the node.
.meshtastic.DeviceMetrics device_metrics = 6;
Link copied to clipboard
abstract fun hasHopsAway(): Boolean

Number of hops away from us this node is (0 if direct neighbor)
optional uint32 hops_away = 9;
Link copied to clipboard
abstract fun hasPosition(): Boolean

This position data. Note: before 1.2.14 we would also store the last time we've heard from this node in position.time, that is no longer true.
Position.time now indicates the last time we received a POSITION from that node.
.meshtastic.PositionLite position = 3;
Link copied to clipboard
abstract fun hasUser(): Boolean

The user info for this node
.meshtastic.UserLite user = 2;